package com.vim.common.exception;

import com.vim.common.model.exception.ExceptionEnums;

/**
 * 业务异常
 */
public class BusinessException extends RuntimeException{

    private ExceptionEnums exceptionEnums;

    public BusinessException(ExceptionEnums exceptionEnums){
        this.exceptionEnums = exceptionEnums;
    }

    public ExceptionEnums getExceptionEnums(){
        return exceptionEnums;
    }
}
